names = ['Alice', 'Bob', 'Charlie']
ages = [25, 30, 35]
for index, (name, age) in enumerate(zip(names, ages), start = 1):
  # print(f"序号 {index}，姓名 {name}，年龄 {age}")
  print((name, age))

# z = zip(names, ages)
# print(list(z))

nums = [1, 2, 3, 4, 5]
result = list(map(lambda x: x[0] * x[1], enumerate(nums)))
for item in list(enumerate(nums)):
  print(item)
print(result)
# 输出：[0, 2, 6, 12, 20]


# print(list(enumerate(nums)))
